﻿using LSL.SqlClient;
using System;

namespace Liu_Project.Entity.Admin
{
    [PK("UserId", true)]
    [Serializable]
    public class EntUser : BaseEntity
    {
        public long UserId { get; set; }

        public string UserNo { get; set; }

        public string UserName { get; set; }

        public string Img { get; set; }

        public string Password { get; set; }

        public string Phone { get; set; }

        public string Email { get; set; }

        public bool IsVisiable { get; set; }

        public bool IsAdministrator { get; set; }

        public DateTime CreateTime { get; set; }

        public long CreateUserId { get; set; }

        public DateTime UpdateTime { get; set; }

        public long UpdateUserId { get; set; }

        public DateTime LastLoginTime { get; set; }

        [Field(false)]
        public EntRoleUser EntRoleUser { get; set; }
    }
}
